﻿using System;
using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_StoreDepositTran : DataObject
    {
        [ID]
        [IDENTITY]
        [Column]
        public int DepositTranID { get { return fDEPOSITTRANID; } set { fDEPOSITTRANID = value; EntityState.FieldChange("DepositTranID"); } } private int fDEPOSITTRANID; public static FieldInfo _DepositTranID = new FieldInfo("t_StoreDepositTran", "DepositTranID");
        [Column]
        public int StoreID { get { return fSTOREID; } set { fSTOREID = value; EntityState.FieldChange("StoreID"); } } private int fSTOREID; public static FieldInfo _StoreID = new FieldInfo("t_StoreDepositTran", "StoreID");
        [Column]
        public string AuthID { get { return fAUTHID; } set { fAUTHID = value; EntityState.FieldChange("AuthID"); } } private string fAUTHID; public static FieldInfo _AuthID = new FieldInfo("t_StoreDepositTran", "AuthID");
        [Column]
        public string DepositType { get { return fDEPOSITTYPE; } set { fDEPOSITTYPE = value; EntityState.FieldChange("DepositType"); } } private string fDEPOSITTYPE; public static FieldInfo _DepositType = new FieldInfo("t_StoreDepositTran", "DepositType");
        [Column]
        public string TranType { get { return fTRANTYPE; } set { fTRANTYPE = value; EntityState.FieldChange("TranType"); } } private string fTRANTYPE; public static FieldInfo _TranType = new FieldInfo("t_StoreDepositTran", "TranType");
        [Column]
        public string Reason { get { return fREASON; } set { fREASON = value; EntityState.FieldChange("Reason"); } } private string fREASON; public static FieldInfo _Reason = new FieldInfo("t_StoreDepositTran", "Reason");
        [Column]
        public decimal? Amount { get { return fAMOUNT; } set { fAMOUNT = value; EntityState.FieldChange("Amount"); } } private decimal? fAMOUNT; public static FieldInfo _Amount = new FieldInfo("t_StoreDepositTran", "Amount");
        [Column]
        public DateTime? TranTime { get { return fTRANTIME; } set { fTRANTIME = value; EntityState.FieldChange("TranTime"); } } private DateTime? fTRANTIME; public static FieldInfo _TranTime = new FieldInfo("t_StoreDepositTran", "TranTime");
        [Column]
        public string AssessmentID { get { return fASSESSMENTID; } set { fASSESSMENTID = value; EntityState.FieldChange("AssessmentID"); } } private string fASSESSMENTID; public static FieldInfo _AssessmentID = new FieldInfo("t_StoreDepositTran", "AssessmentID");
        [Column]
        public int? DeviceID { get { return fDeviceID; } set { fDeviceID = value; EntityState.FieldChange("DeviceID"); } } private int? fDeviceID; public static FieldInfo _DeviceID = new FieldInfo("t_StoreDepositTran", "DeviceID");

    }
}